#ifndef STATION_H
#define STATION_H

#include <QVector>
#include "AGeometry.h"
#include "common/types.h"

class Station : public AGeometry
{
    public:
        Station(const Refcurve &iref, const Refcurve &fref, int n_knots);
        Station(QVector<Point3D *> _knots, int row_knots);
        ~Station();
        void calculate_points();
        int rows() const;
        const QVector<Point3D *> &get_points(bool repeat) const;
        int total_points(bool repeat) const;
    private:
        int rc_size; // the number of rows
        int frc_ipos; // the first position in the vector of knots, belongs to the final reference curve
        bool is_calculated; // if the station points are calculated
        QVector<Point3D *> knots; // the vector of knots of the station
};

#endif // STATION_H
